package com.gxa.insurance.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

/**
 * @author wang li sha
 * @description TODO
 * @date 2022-06-08 20:38
 */
@ApiModel(value = "角色权限的实体")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Component
public class RolePermission {
    @ApiModelProperty(name = "id", value = "编号", required = false)
    private Integer id;
    @ApiModelProperty(name = "role_id", value = "角色表id", required = true, example = "88")
    private String role_id;
    @ApiModelProperty(name = "permission_id", value = "权限表id", required = true, example = "3")
    private String permission_id;
}
